import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'element-plus/dist/index.css'
// import 'element-plus/lib/theme-chalk/index.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
// import less from 'less'
// import installElementPlus from './plugins/element'
import './permission' // permission control

const app = createApp(App)
// installElementPlus(app)

app.use(store)
app.use(router)
// app.use(less)
app.use(ElementPlus, {
    locale: zhCn,
})
app.mount('#app')
